package intelligentcity.model.streets;

import intelligentcity.conf.Conf;
import intelligentcity.model.Move;

public class VerticalStreet extends Street {

    public VerticalStreet(int x1, int y1, int y2, int firstStreetImportance, int secondStreetImportance) {
        super(new VerticalOneWayStreet(x1, y1, y2, Move.DOWN), new VerticalOneWayStreet(x1
                + Conf.distanceBeetweenStreets, y1, y2, Move.UP), firstStreetImportance, secondStreetImportance);
    }

    public VerticalStreet(int x1, int y1, int y2, int streetImportance) {
        super(new VerticalOneWayStreet(x1, y1, y2, Move.DOWN), new VerticalOneWayStreet(x1
                + Conf.distanceBeetweenStreets, y1, y2, Move.UP), streetImportance);
    }
    
    public VerticalStreet(int x1, int y1, int y2) {
        super(new VerticalOneWayStreet(x1, y1, y2, Move.DOWN), new VerticalOneWayStreet(x1
                + Conf.distanceBeetweenStreets, y1, y2, Move.UP));
    }
}
